<%@ include file="/common/taglibs.jsp"%>

<%@include file="include/productSelectorSearchCriteria.jspf"%>
				
<div id="productSelectorForm" name="productSelectorForm">
	<table width="100%">
		<tr>
			<td  valign="top" style="padding:0 10px;">
				<div id="productSelectorResults">
					<%--fill productSelectorResults.jsp --%>
				</div>
			</td>
			<td  id="multipleSelectDiv" valign="top" style="display:none;width:200px;">
				<table class="op_table" >
					<tr>
						<th colspan="2">
							<fmt:message key="productSelector.selectedProductTitle"/>&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" id="ok" class="btn2" value="<fmt:message key="button.confirm"/>" onclick="selectProducts();"/>
							<input type="button" id="ok" class="btn2_y" value="<fmt:message key="button.clearup"/>" onclick="cleanupProducts();"/>
						</th>
					</tr>
				</table>
				<ul class="op_table" id="selectedProductInfo"  style="height:470px;overflow:auto">
				</ul>
			</td>
		</tr>
	</table>	
</div>


<script type="text/javascript" defer>
var callbackFunc = eval("parent.${param.selectorId}CallbackFunc");
var multiple = eval("parent.${param.selectorId}Multiple");
</script>
<c:set var="plugin_chromatable" value="true" scope="request"/> 
<script type="text/javascript"	src="${ctxPath}/scripts/probiz/product/productSelector.js?rs=${appConfig.rs}"></script>
<script type="text/javascript">
$j(document).ready(function () {
	__FMTExtend = {
		productSelector_pleaseSelect:"<fmt:message key="productSelector.pleaseSelect"/>",
		productSelector_alreadySelect:"<fmt:message key="productSelector.alreadySelect"/>"
	};
	$j.extend(__FMT, __FMTExtend); 		
});
</script>
